<?php
  require(dirname(__FILE__).'/global.php');
  require(ROOT.'/admin/isLogin.php');
  
  $admin = $_SESSION['user']['name'];
  
  $smarty->assign('admin',$admin);
  $smarty->display('index.html');
?>
